Give\DonationForms\ViewModels\DonationFormViewModel A

Total Complexity 60
Dependencies 14
Dependents 1
Total lines 495
Lines of code 282
Logical lines of code 116
Comment lines 119
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
exports()
A
46 8 37
getTotalCountValue()
S
58 7 17
getCountLabel()
S
61 7 12
render()
S
50 4 33
formStatsData()
S
58 5 15
enqueueDesign()
S
56 4 21
updateDesignSettingsClassNames()
S
62 3 12
enqueueGateways()
S
66 3 8
primaryColor()
S
66 3 9
secondaryColor()
S
66 3 9
goalType()
S
66 3 9
getCampaignColors()
S
62 2 13
enqueueRegistrars()
S
55 1 23
enqueueFormApp()
S
55 1 23
enqueueGlobalStyles()
S
57 1 20
getFormDesign()
S
74 2 4
enqueueFormScripts()
S
72 1 6
designId()
S
80 1 3
__construct()
S
66 1 8